/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.member.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.member.entity.Member;

import iaas.repository.BaseRepository;

/**
 * @author chan
 */
 @Repository
public interface MemberDao extends BaseRepository<Member, Long> ,JpaSpecificationExecutor<Member>{

	 /** 查询会员 手机号唯一 */
	 public Member findByUsername(String username);
	 
	 /**  查询用户 通过登陆名  */
	 public Member findMemberByUsername(String username);
}

